﻿using System;
using System.Runtime.InteropServices;

[StructLayout(LayoutKind.Sequential)]
public struct COPYDATASTRUCT
{
    public IntPtr dwData;
    public int cbData;
    [MarshalAs(UnmanagedType.LPStr)]
    public string lpData;
}

[StructLayout(LayoutKind.Sequential)]
public struct COPYDATASTRUCT2
{
    public IntPtr dwData;
    public int cbData;
    public IntPtr lpData;
}


